package com.example.mapper.auth;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.auth.SysRole;
import com.example.entity.auth.SysUser;
import com.github.houbb.heaven.annotation.reflect.Param;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author atguigu
 * @since 2023-02-02
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    @DS("mes")
    List<SysRole> getRoleList(@Param("keyword") String keyword);
}
